package com.cskaoyan.javase.string._2stringconst;

/**
 * String类的构造器 String(String str)
 *
 * @since 10:52
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class Demo3 {
    public static void main(String[] args) {
        String str = "hello";
        String str2 = new String("hello");
        System.out.println(str == str2);
    }
}
